@import '@/styles/common.less';
@background: linear-gradient(180deg, #5174f5ff 0%, #23459eff 100%);

.nav {
  padding: 0 32px 0 20px;
  height: 114px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: @background;
  box-shadow: @card-shadow;

  .logo {
    display: flex;
    align-items: center;

    svg {
      width: 43px;
      height: 43px;
      fill: #fff;
    }

    p {
      font-size: 18px;
      margin-left: 12px;
      font-weight: bolder;
      color: #fff;
    }
  }

  .navList {
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;

    a {
      padding: 20px;
      margin-right: 50px;
      text-decoration: none;
      color: #cce6ff;
    }

    .active {
      background: rgba(255, 255, 255, 0.10);
      color: #fff;
      text-align: center;
      font-weight: bold;
    }
  }

  .nav_tools {
    display: flex;
    flex-direction: row;
    align-items: center;

    .tool_icon {
      margin-right: 20px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;

      svg {
        color: #E6F4FF;
        width: 20px;
        height: 20px;
      }
    }

    .tool_icon:hover {
      background: rgba(255, 255, 255, 0.16);

    }

    .appStore {
      cursor: pointer;
    }

    .user_info {
      display: flex;
      align-items: center;
      cursor: pointer;

      .avatar {
        border: 1px solid #f7f7f7ff;
      }

      p {
        margin-left: 5px;
        color: #cce6ff;
      }
    }
  }
}

.tooltip_text {
  color: #000;
}

.tool_theme {
  display: flex;
  flex-direction: row;
  align-items: flex-start;

  .font {
    margin-right: 10px;
    color: #3f66f5;
  }
}

.@{container-prefix}-container-platform-popover {
  .@{container-prefix}-container-platform-popover-content {
    .@{container-prefix}-container-platform-popover-inner {
      border-radius: 4px !important;
    }
  }
}


@media screen and (max-width: 1280px) {
  .nav {
    .navList {
      word-break: keep-all;

      a {
        margin-right: 0;
      }
    }
  }
}